<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Language" content="en" />
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>MB Table</title>
		<script type="text/javascript" src="jquery.js"></script>
		<script type="text/javascript" src="jquery.ui.core.js"></script>
		<script type="text/javascript" src="jquery.ui.widget.js"></script>
		<script type="text/javascript" src="jquery.cookie.js"></script>
		<script type="text/javascript" src="jquery.mbtable.js"></script>
		<link type="text/css" href="mbtable.css" rel="stylesheet" />
		<script type="text/javascript">
			$(document).ready(function(){
				$("#test").mbtable({
					url: 'ajax.php',
					limit: 20,
					table: 'participants',
					order: {column: 'created_at',direction: 'desc'},
					primaryKey: 'id',
					fields: {
						id: 'ID',
						name: 'Imię',
						surname: 'Nazwisko',
						fee: 'Opłata',
						city: 'Miasto',
						street: 'Ulica',
						fax: 'none',
						sex: 'Płeć',
						telephone: 'Telefon',
						country: 'Kraj',
						vegetarian: 'Wegetarianin',
						id_conf: 'none',
						hash_one: 'none',
						hash_two: 'none',
						hash_three: 'none',
						znizka: 'none',
						acc_title: 'none',
						acc_name: 'none',
						acc_surname: 'none',
						title: 'none',
						stanowisko: 'none',
						tours: 'none',
						code: 'none',
						rooms: 'none',
						hotel: 'none',
						room_number: 'none',
						room: 'none',
						arrival: 'none'
					}
				});
			})
		</script>
	</head>
	<body>
		<div id="test"></div>
	</body>
</html>